<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/common/head.jsp"%>
<script language="javascript" src="test.js"></script>
</head>
<body class="mainBody">
<form method="post" name="myform" id="myform">
<table border="0" cellpadding="0" cellspacing="0" class="formTable">
    <!-- 标题行-->
    <tr class="tableTitleTR2">
        <td colspan="3">
            <table width="100%" border="0" cellpadding="0" cellspacing="0">
                <tr>
                    <td width="47" class="tableTitleLeft2">&#160;</td>
                    <td class="tableTitle2">测试</td>
                    <td width="33" class="tableTitleRight2">&#160;</td>
                </tr>
            </table>
        </td>
    </tr>
    <!--核心域 -->
    <tr>
        <td class="formTableL">&#160;</td>
        <td width="100%" class="formTableC">
            <table align="center" border="0" cellpadding="0" cellspacing="2" class="formTableCore">
                <tr>
                    <td class="formLabel" width="10%">参 数1</td>
                    <td class="formField" width="23%">
                        <input type="text" name="para1" id="para1" value="">
                    </td>
                    <td class="formLabel" width="10%">参 数2</td>
                    <td class="formField" width="23%">
                        <input type="text" name="para2" id="para2" value="">
                    </td>
                    <td class="formLabel" width="10%">参 数3</td>
                    <td class="formField" width="24%">
                        <input type="text" name="para3" id="para3" value="">
                    </td>
                </tr>
                <tr>
                    <td class="formField">
                        <select name="testFunc" id="testFunc" onchange="testSelChg(this)">
                            <option value="page2img">page2img页面转图片</option>
                            <option value="objectTest">测试</option>
                            <option value="other">其他</option>
                        </select>
                    </td>
                    <td class="formField">
                        <input type="text" name="testMethod" id="testMethod" value="page2img">
                    </td>
                    <td class="formField" colspan="4">
                        <input type="button" class="formButton" name="btn1" id="btn1" value="提交" onclick="btn1Clk()">
                        <input type="button" class="formButton" name="btn2" id="btn2" value="关闭TAB" onclick="btn2Clk()">
                        <input type="button" class="formButton" name="btn3" id="btn3" value="活动TAB" onclick="btn3Clk()">
                        <input type="button" class="formButton" name="btn4" id="btn4" value="取TAB值" onclick="btn4Clk()">
                    </td>
                </tr>
                <tr>
                    <td class="formField" style="color: blue;" colspan="6" id="retMsg"></td>
                </tr>
                <tr>
                    <td class="formLabel">账号</td>
                    <td class="formField">
                        <input type="text" name="account" id="account" value="">
                    </td>
                    <td class="formLabel">
                        <button class="formButton" name="bPwd" id="bPwd" onclick="getPwd()">获取密码</button>
                    </td>
                    <td class="formField">
                        <input type="text" name="deText" id="deText" value="">
                    </td>
                    <td class="formLabel">
                        <button class="formButton" name="dePwd" id="dePwd" onclick="decodePwd('1')">&lt;解密</button>
                        <button class="formButton" name="enPwd" id="enPwd" onclick="decodePwd('2')">加密&gt;</button>
                    </td>
                    <td class="formField">
                        <input type="text" name="enText" id="enText" value="">
                    </td>
                </tr>
                <tr>
                    <td class="formLabel">地址</td>
                    <td class="formField" colspan="3">
                        <input type="text" name="gourl" id="gourl" value="${ctxpath}/blank.html" style="width: 400px">
                    </td>
                    <td class="formField" colspan="2" align="left">
                        <button class="formButton" name="bgo" id="bgo" onclick="gotoUrl('0')">GO!</button>
                        <button class="formButton" name="dtab" id="dtab" onclick="gotoUrl('1')">TAB页</button>
                    </td>
                </tr>
            </table>
        </td>
        <td class="formTableR">&#160;</td>
    </tr>
    <tr>
        <td class="formTableLB"></td>
        <td class="formTableB"></td>
        <td class="formTableRB"></td>
    </tr>
</table>
</form>
</body>
</html>
